package com.lin.operatorlogrecord.strategy;

import com.lin.operatorlogrecord.content.SubObjectAddBatchUtil;

import java.util.List;

/**
 * @Author: chenghao.lin
 * @Date: 2023/09/25
 * @Description:
 */
public class AddBatchSubObjOperatorLogStrategy implements IOperateLogStrategy{
    @Override
    public String getOperatorContent(Object requestObj, Class<?>[] tableEntity, String operatorObjId) {
        SubObjectAddBatchUtil subObjectAddBatchUtil = new SubObjectAddBatchUtil();
        return subObjectAddBatchUtil.generatorContent(tableEntity, (List<String>) requestObj, operatorObjId);
    }
}
